grsecurity: GRKERNSEC_PERF_HARDEN
authorBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
commit05eb296783f56fbc08181ee6d31283088f94b461
tree747e457fa55bb7c7ff158981122b54825bf67453
parent80320907d4f76ffd14b21a08671f387e4e2dbc0a
grsecurity: GRKERNSEC_PERF_HARDEN

The GRKERNSEC_PERF_HARDEN feature extracted from grsecurity.  Adds the
option to disable perf_event_open() entirely for unprivileged users.
This standalone version doesn't include making the variable read-only
(or renaming it).

Gbp-Pq: Topic features/all/grsecurity
Gbp-Pq: Name grkernsec_perf_harden.patch
grsecurity/Kconfig
include/linux/perf_event.h
kernel/events/core.c